<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>登录</title>
<script src="js/jquery-2.2.4.min.js"></script>
<script src="js/login.js"></script>
<script src="js/des.js"></script>
<script src="js/md5.js"></script>
<script>
$(document).ready(function() {
	
	$(".form").slideDown(500);
		
		$("#landing").addClass("border-btn");

		$("#landing").click(function() {
			$("#registered").removeClass("border-btn");
			$(this).addClass("border-btn");
			
			$("#landing-content").show(500);
			$("#registered-content").hide(500);
		})
	});
</script>
<!-- link href="css/login.css" rel="stylesheet" type="text/css"/-->
<style>
* {
		margin: 0;
		padding: 0;
		font-family: "微软雅黑";
	}
	
	body {
		background: #F7F7F7;
	}
	
	.form {
		position: absolute;
		top: 50%;
		left: 50%;
		margin-left: -185px;
		margin-top: -210px;
		height: 420px;
		width: 340px;
		font-size: 18px;
		background: #fff;
	}
	
	#landing {
		margin-left:82px;
		text-align: center;
		width: 170px;
		padding: 15px 0;
		color: #545454;
	}
	
	#landing-content {
		
	}
	
	.inp {
		height: 30px;
		margin: 0 auto;
		margin-bottom: 30px;
		width: 200px;
	}
	
	.inp>input {
		text-align: center;
		height: 30px;
		width: 200px;
		margin: 0 auto;
	}
	
	.login {
		border: 1px solid #A6A6A6;
		color: #a6a6a6;
		height: 30px;
		width: 202px;
		text-align: center;
		font-size: 13.333333px;
		margin-left: 70px;
		line-height: 30px;
		margin-top: 30px;
		cursor:pointer;
	}
	
	.login:hover {
		background: #A6A6A6;
		color: #fff;
	}

	#photo {
		border-radius: 80px;
		border: 1px solid #ccc;
		height: 80px;
		width: 80px;
		margin: 0 auto;
		overflow: hidden;
		clear: both;
		margin-top: 30px;
		margin-bottom: 30px;
	}
	
	#photo>img:hover {
		-webkit-transform: rotateZ(360deg);
		-moz-transform: rotateZ(360deg);
		-o-transform: rotateZ(360deg);
		-ms-transform: rotateZ(360deg);
		transform: rotateZ(360deg);
	}
	
	#photo>img {
		height: 80px;
		width: 80px;
		-webkit-background-size: 220px 220px;
		border-radius: 60px;
		-webkit-transition: -webkit-transform 1s linear;
		-moz-transition: -moz-transform 1s linear;
		-o-transition: -o-transform 1s linear;
		-ms-transition: -ms-transform 1s linear;
	}

	.form{
		display: none;
	}
</style>
</head>
<body>
<div class="form">
<!--<form action="loginHandler" method="post"-->
	<div id="landing">登录</div>
	<div id="landing-content">
		<div id="photo"><img src="img/photo.jpg" /></div>
		<div class="inp"><input id="log_uname" type="text" name="username" placeholder="用户名" /></div>
		<div class="inp"><input id="log_psw" type="password" name="psw" placeholder="密码" /></div>
		<button id="loginBtn" class="login">登录</button>
	</div>
<!--  /form>-->
</div>
<div style="text-align:center;"></div>
</body>
</html>